import React,{Component} from 'react';
import { Row, Col, Pagination} from 'antd';
import IndexMenu from './indexMenu';
import IndexList from './list';
export default class Index extends Component{
	render(){
		let tab = this.props.match.params.id;
		//console.log('tab',tab);
		return (
			<Row className="wrap">
				<Col md={6} xs={0} className="indexSlider">
					<IndexMenu id="indexMenu"/>
				</Col>
				<Col md={0} xs={24}>
					<IndexMenu id="indexXsMenu" mode="horizontal"/>
				</Col>
				<Col md={18} xs={24} className="indexList">
						<IndexList tab={tab}/>
						{/* <Pagination 
							current={1} 
							pageSize={10}
							total={500}
							onChange={(current)=>{

							}}
						/> */}
				</Col>
			</Row>
		)
	}
}